﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeFirstDemo.Model
{
    public class User
    {
        public int UserId { get; set; }
        public string Name { get; set; }

        //public Address Address { get; set; }
        public virtual Address BillingAddress { get; set; }
    }

    public class Address
    {
        public int AddressId { get; set; }
        public string Street { get; set; }
        public string City { get; set; }
        public string ZipCode { get; set; }
    }

    public class Shipment
    {
        public int ShipmentId { get; set; }
        public string State { get; set; }

        public virtual Address DeliveryAddress { get; set; }
    }
    
}
